<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>get_deep_counting_model_param [HALCON算子参考手册]</title>
<style type="text/css">
      body {
    color: #000000;
    background-color: #ffffff;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.body_main {
    margin-left: 35px;
    margin-right: 35px;
}

@media screen and (min-width:992px) {

    .body_main {
        margin-left: 10%;
        margin-right: 10%;
    }

    table.toctable {
        width: 80%
    }
}

@media screen and (min-width:1400px) {

    .body_main {
        margin-left: 15%;
        margin-right: 15%;
    }

    table.toctable {
        width: 70%
    }
}

body>div ul ul {
    margin-left: inherit;
}

a:link {
    color: #0044cc;
}

a:link,
a:visited {
    text-decoration: none;
}

a:link:hover,
a:visited:hover {
    text-decoration: underline;
}

th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: optimizeLegibility;
    color: #666666;
}

code {
    font-family: monospace,monospace;
}

h1 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

h2 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

hr {
    border: 0;
    border-top: solid 1px #f28d26;
}

.pre {
    display: block;
    padding-bottom: 1ex;
    font-family: monospace;
    white-space: pre;
}

pre {
    font-family: monospace, monospace;
    padding: 1ex;
    white-space: pre-wrap;
}

.toc {
    font-size: 80%;
    border-top: 1px dashed #f28d26;
    border-bottom: 1px dashed #f28d26;
    padding-top: 5px;
    padding-bottom: 5px;
}

.inv {
    margin: 0;
    border: 0;
    padding: 0;
}

.banner {
    color: #666666;
    padding-left: 1em;
}

.logo {
    background-color: white;
}

.keyboard {
    font-size: 80%;
    padding-left: 3px;
    padding-right: 3px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #f28d26;
    background-color: #f3f3f3;
}

.warning {
    margin-top: 2ex;
    margin-bottom: 1ex;
    padding: 10px;
    text-align: center;
    border: 1px solid;
    color: #bb0000;
    background-color: #fff7f7
}

.imprint {
    margin-top: 1ex;
    font-size: 80%;
    color: #666666;
}

.imprinthead {
    font-weight: bolder;
    color: #666666;
}

.indexlink {
    text-align: right;
    padding-bottom: 5px;
}

.postscript {
    margin-top: 2ex;
    font-size: 80%;
    color: #666666
}

.evenrow {
    background-color: #e7e7ef;
    vertical-align: top;
}

.oddrow {
    background-color: #f7f7ff;
    vertical-align: top;
}

.headrow {
    background-color: #97979f;
    color: #ffffff;
    vertical-align: top;
}

.logorow {
    vertical-align: top;
}

.error {
    color: red;
}

.var {
    font-style: italic
}

.halconoperator {
    font-family: monospace, monospace;
}

span.operator {
    font-family: monospace, monospace;
}

span.procedure {
    font-family: monospace, monospace;
}

span.operation {
    font-family: monospace, monospace;
}

span.feature {
    font-family: Arial, Helvetica, Homerton, sans-serif;
}

ul {
    padding-left: 1.2em;
}

li.dot {
    list-style-type: square;
    color: #f28d26;
}

.breadcrumb {
    font-size: 80%;
    color: white;
    background-color: #062d64;
    margin-bottom: 20px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 15px;
}

.webbar {
    font-size: 80%;
    background-color: #dddddd;
    margin-top: 0px;
    margin-left: -35px;
    margin-right: -35px;
    margin-bottom: 0px;
    padding-top: 5px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 5px;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px dashed #f28d26;
    font-size: 80%;
    color: #666666;
    padding-bottom: 8px;
}

.footer .socialmedia a {
    padding-left: 7px;
}

.socialmedia {
    padding-top: 10px;
}

.copyright {
    margin-top: 19px;
}

.breadcrumb a {
    color: #ffffff;
    border-bottom: 1px solid white;
}

.breadcrumb a:link:hover,
.breadcrumb a:visited:hover {
    text-decoration: none;
    border-bottom: none;
}

.heading {
    margin-top: 1ex;
    font-size: 110%;
    font-weight: bold;
    color: #666666;
}

.text {
    color: black;
}

.example {
    font-size: 80%;
    background-color: #f3f3f3;
    border: 1px dashed #666666;
    padding: 10px;
}

.displaymath {
    display: block;
    text-align: center;
    margin-top: 1ex;
    margin-bottom: 1ex;
}

.title {
    float: left;
    padding-top: 3px;
    padding-bottom: 3px;
}

.signnote {
    font-family: Arial, Helvetica, Homerton, sans-serif;
    font-size: 80%;
    color: #666666;
    font-weight: lighter;
    font-style: italic
}

.par {
    margin-bottom: 1.5em;
}

.parhead {
    text-align: right;
}

.parname {
    float: left;
}

.pardesc {
    font-size: 85%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 2em;
}

.parcat {
    color: #666;
    font-weight: bold;
}

*[data-if=cpp],
*[data-if=c],
*[data-if=dotnet],
*[data-if=com],
*[data-if=python] {
    display: none;
}

.tabbar {
    text-align: right;
    border-bottom: 1px solid #f28d26;
    margin-bottom: 0.5em;
}

ul.tabs {
    padding-top: 3px;
    padding-bottom: 3px;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 80%
}

ul.tabs li {
    padding-top: 3px;
    padding-bottom: 3px;
    display: inline;
    overflow: hidden;
    list-style-type: none;
    margin: 0;
    margin-left: 8px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
}

ul.tabs li.active {
    border-left: 1px solid #f28d26;
    border-right: 1px solid #f28d26;
    border-top: 1px solid #f28d26;
    border-bottom: 1px solid #fff;
}

ul.tabs li.inactive {
    background-color: #eee;
}

ul.tabs li a {
    padding-left: 5px;
    padding-right: 5px;
    color: #666;
}

ul.tabs li a:link:hover {
    text-decoration: none;
}

ul.tabs li.inactive a {
    color: #666;
}

ul.tabs li.active a {
    color: black;
}

dl.generic dd {
    margin-bottom: 1em;
}

.pari {
    color: olive;
}

.paro {
    color: maroon;
}

.comment {
    font-size: 80%;
    color: green;
    white-space: nowrap;
}

table.grid {
    border-collapse: collapse;
}

table.grid td {
    padding: 5px;
    border: 1px solid;
}

table.layout {
    border: 0px;
}

table.layout td {
    padding: 5px;
}

table.table {
    border-collapse: collapse;
}

table.table td {
    padding: 5px;
    border-left: 0px;
    border-right: 0px;
}

table.table tr:last-child {
    border-bottom: 1px solid;
}

table.table th {
    padding: 5px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-left: 0px;
    border-right: 0px;
}

.details_summary {
    cursor: pointer;
}

table.toctable {
    width: 100%;
}

table.toctable col:first-child {
    width: 20%;
}

table.toctable col:nth-last-child(2) {
    width: 8%;
}

table.altcolored tr:nth-child(even) {
    background-color: #f3f3f3;
}

    </style>
<!--OP_REF_STYLE_END-->
<script>
    <!--
var active_lang='hdevelop';function switchVisibility(obj,active_lang,new_lang)
{var display_style='inline';
for(var i=0;i<obj.length;i++)
{if(obj.item(i).getAttribute('data-if')==new_lang)
{obj.item(i).style.display=display_style;}
if(obj.item(i).getAttribute('data-if')==active_lang)
{obj.item(i).style.display='none';}}
return;}
function toggleLanguage(new_lang,initial)
{if(active_lang!=new_lang)
{var lis=document.getElementsByTagName('li');for(var i=0;i<lis.length;i++)
{if(lis.item(i).id=='syn-'+new_lang)
{lis.item(i).className='active';}
else
{lis.item(i).className='inactive';}}
var divs=document.getElementsByTagName('div');var spans=document.getElementsByTagName('span');switchVisibility(divs,active_lang,new_lang);switchVisibility(spans,active_lang,new_lang);if(!initial)
{setCookie("halcon_reference_language",new_lang,null,null);}
active_lang=new_lang;}
return;}
function setCookie(name,value,domain,exp_offset,path,secure)
{localStorage.setItem(name,value);}
function getCookie(name)
{return localStorage.getItem(name);}
function initialize()
{var qs=location.href.split('?')[1];var qs_lang_raw=location.href.split('interface=')[1];var qs_lang;if(qs_lang_raw)
{qs_lang=qs_lang_raw.split('#')[0];}
var cookie_lang=getCookie("halcon_reference_language");var new_lang;if((qs_lang=="hdevelop")||(qs_lang=="dotnet")||(qs_lang=="python")||(qs_lang=="cpp")||(qs_lang=="c"))
{new_lang=qs_lang;setCookie("halcon_reference_language",new_lang,null,null);}
else if((cookie_lang=="hdevelop")||(cookie_lang=="dotnet")||(cookie_lang=="python")||(cookie_lang=="cpp")||(cookie_lang=="c"))
{new_lang=cookie_lang;}
else
{new_lang="hdevelop";}
toggleLanguage(new_lang,1);return;}
-->

  </script>
</head>
<body onload="initialize();">
<div class="breadcrumb">
<br class="inv"><a href="index.html">目录</a> / <a href="toc_matching.html">Matching</a> / <a href="toc_matching_deepcounting.html">Deep Counting</a><br class="inv">
</div>
<div class="body_main">
<div class="tabbar"><ul class="tabs">
<li id="syn-hdevelop" class="active"><a href="javascript:void(0);" onclick="toggleLanguage('hdevelop')" onfocus="blur()">HDevelop</a></li>
<li id="syn-dotnet" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('dotnet')" onfocus="blur()">.NET</a></li>
<li id="syn-python" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('python')" onfocus="blur()">Python</a></li>
<li id="syn-cpp" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('cpp')" onfocus="blur()">C++</a></li>
<li id="syn-c" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('c')" onfocus="blur()">C</a></li>
</ul></div>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<!--OP_REF_HEADER_END-->
<h1 id="sec_name">
<span data-if="hdevelop" style="display:inline;">get_deep_counting_model_param</span><span data-if="c" style="display:none;">T_get_deep_counting_model_param</span><span data-if="cpp" style="display:none;">GetDeepCountingModelParam</span><span data-if="dotnet" style="display:none;">GetDeepCountingModelParam</span><span data-if="python" style="display:none;">get_deep_counting_model_param</span> (算子名称)</h1>
<h2>名称</h2>
<p><code><span data-if="hdevelop" style="display:inline;">get_deep_counting_model_param</span><span data-if="c" style="display:none;">T_get_deep_counting_model_param</span><span data-if="cpp" style="display:none;">GetDeepCountingModelParam</span><span data-if="dotnet" style="display:none;">GetDeepCountingModelParam</span><span data-if="python" style="display:none;">get_deep_counting_model_param</span></code> — Return the parameters of a Deep Counting model.</p>
<h2 id="sec_synopsis">参数签名</h2>
<div data-if="hdevelop" style="display:inline;">
<p>
<code><b>get_deep_counting_model_param</b>( :  : <a href="#DeepCountingHandle"><i>DeepCountingHandle</i></a>, <a href="#GenParamName"><i>GenParamName</i></a> : <a href="#GenParamValue"><i>GenParamValue</i></a>)</code></p>
</div>
<div data-if="c" style="display:none;">
<p>
<code>Herror <b>T_get_deep_counting_model_param</b>(const Htuple <a href="#DeepCountingHandle"><i>DeepCountingHandle</i></a>, const Htuple <a href="#GenParamName"><i>GenParamName</i></a>, Htuple* <a href="#GenParamValue"><i>GenParamValue</i></a>)</code></p>
</div>
<div data-if="cpp" style="display:none;">
<p>
<code>void <b>GetDeepCountingModelParam</b>(const HTuple&amp; <a href="#DeepCountingHandle"><i>DeepCountingHandle</i></a>, const HTuple&amp; <a href="#GenParamName"><i>GenParamName</i></a>, HTuple* <a href="#GenParamValue"><i>GenParamValue</i></a>)</code></p>
<p>
<code><a href="HTuple.html">HTuple</a> <a href="HDlModelCounting.html">HDlModelCounting</a>::<b>GetDeepCountingModelParam</b>(const HString&amp; <a href="#GenParamName"><i>GenParamName</i></a>) const</code></p>
<p>
<code><a href="HTuple.html">HTuple</a> <a href="HDlModelCounting.html">HDlModelCounting</a>::<b>GetDeepCountingModelParam</b>(const char* <a href="#GenParamName"><i>GenParamName</i></a>) const</code></p>
<p>
<code><a href="HTuple.html">HTuple</a> <a href="HDlModelCounting.html">HDlModelCounting</a>::<b>GetDeepCountingModelParam</b>(const wchar_t* <a href="#GenParamName"><i>GenParamName</i></a>) const  <span class="signnote">
            (
            Windows only)
          </span></code></p>
</div>
<div data-if="com" style="display:none;"></div>
<div data-if="dotnet" style="display:none;">
<p>
<code>static void <a href="HOperatorSet.html">HOperatorSet</a>.<b>GetDeepCountingModelParam</b>(<a href="HTuple.html">HTuple</a> <a href="#DeepCountingHandle"><i>deepCountingHandle</i></a>, <a href="HTuple.html">HTuple</a> <a href="#GenParamName"><i>genParamName</i></a>, out <a href="HTuple.html">HTuple</a> <a href="#GenParamValue"><i>genParamValue</i></a>)</code></p>
<p>
<code><a href="HTuple.html">HTuple</a> <a href="HDlModelCounting.html">HDlModelCounting</a>.<b>GetDeepCountingModelParam</b>(string <a href="#GenParamName"><i>genParamName</i></a>)</code></p>
</div>
<div data-if="python" style="display:none;">
<p>
<code>def <b>get_deep_counting_model_param</b>(<a href="#DeepCountingHandle"><i>deep_counting_handle</i></a>: HHandle, <a href="#GenParamName"><i>gen_param_name</i></a>: str) -&gt; Union[str, float, int]</code></p>
</div>
<h2 id="sec_description">描述</h2>
<p>该算子 <code><span data-if="hdevelop" style="display:inline">get_deep_counting_model_param</span><span data-if="c" style="display:none">get_deep_counting_model_param</span><span data-if="cpp" style="display:none">GetDeepCountingModelParam</span><span data-if="com" style="display:none">GetDeepCountingModelParam</span><span data-if="dotnet" style="display:none">GetDeepCountingModelParam</span><span data-if="python" style="display:none">get_deep_counting_model_param</span></code> returns the parameter values
of <a href="#GenParamName"><i><code><span data-if="hdevelop" style="display:inline">GenParamName</span><span data-if="c" style="display:none">GenParamName</span><span data-if="cpp" style="display:none">GenParamName</span><span data-if="com" style="display:none">GenParamName</span><span data-if="dotnet" style="display:none">genParamName</span><span data-if="python" style="display:none">gen_param_name</span></code></i></a> for the Deep Counting model <a href="#DeepCountingHandle"><i><code><span data-if="hdevelop" style="display:inline">DeepCountingHandle</span><span data-if="c" style="display:none">DeepCountingHandle</span><span data-if="cpp" style="display:none">DeepCountingHandle</span><span data-if="com" style="display:none">DeepCountingHandle</span><span data-if="dotnet" style="display:none">deepCountingHandle</span><span data-if="python" style="display:none">deep_counting_handle</span></code></i></a>
in <a href="#GenParamValue"><i><code><span data-if="hdevelop" style="display:inline">GenParamValue</span><span data-if="c" style="display:none">GenParamValue</span><span data-if="cpp" style="display:none">GenParamValue</span><span data-if="com" style="display:none">GenParamValue</span><span data-if="dotnet" style="display:none">genParamValue</span><span data-if="python" style="display:none">gen_param_value</span></code></i></a>.
</p>
<p>Note that when changing parameters that influence the template creation,
<a href="prepare_deep_counting_model.html"><code><span data-if="hdevelop" style="display:inline">prepare_deep_counting_model</span><span data-if="c" style="display:none">prepare_deep_counting_model</span><span data-if="cpp" style="display:none">PrepareDeepCountingModel</span><span data-if="com" style="display:none">PrepareDeepCountingModel</span><span data-if="dotnet" style="display:none">PrepareDeepCountingModel</span><span data-if="python" style="display:none">prepare_deep_counting_model</span></code></a> must be called again before
the model can be applied with <a href="apply_deep_counting_model.html"><code><span data-if="hdevelop" style="display:inline">apply_deep_counting_model</span><span data-if="c" style="display:none">apply_deep_counting_model</span><span data-if="cpp" style="display:none">ApplyDeepCountingModel</span><span data-if="com" style="display:none">ApplyDeepCountingModel</span><span data-if="dotnet" style="display:none">ApplyDeepCountingModel</span><span data-if="python" style="display:none">apply_deep_counting_model</span></code></a>.
The following table gives an overview,
which parameters can be set
using <a href="set_deep_counting_model_param.html"><code><span data-if="hdevelop" style="display:inline">set_deep_counting_model_param</span><span data-if="c" style="display:none">set_deep_counting_model_param</span><span data-if="cpp" style="display:none">SetDeepCountingModelParam</span><span data-if="com" style="display:none">SetDeepCountingModelParam</span><span data-if="dotnet" style="display:none">SetDeepCountingModelParam</span><span data-if="python" style="display:none">set_deep_counting_model_param</span></code></a> or <a href="create_deep_counting_model.html"><code><span data-if="hdevelop" style="display:inline">create_deep_counting_model</span><span data-if="c" style="display:none">create_deep_counting_model</span><span data-if="cpp" style="display:none">CreateDeepCountingModel</span><span data-if="com" style="display:none">CreateDeepCountingModel</span><span data-if="dotnet" style="display:none">CreateDeepCountingModel</span><span data-if="python" style="display:none">create_deep_counting_model</span></code></a>
(<code>set</code>),
which can be retrieved using <code><span data-if="hdevelop" style="display:inline">get_deep_counting_model_param</span><span data-if="c" style="display:none">get_deep_counting_model_param</span><span data-if="cpp" style="display:none">GetDeepCountingModelParam</span><span data-if="com" style="display:none">GetDeepCountingModelParam</span><span data-if="dotnet" style="display:none">GetDeepCountingModelParam</span><span data-if="python" style="display:none">get_deep_counting_model_param</span></code>
(<code>get</code>),
and which require re-running <a href="prepare_deep_counting_model.html"><code><span data-if="hdevelop" style="display:inline">prepare_deep_counting_model</span><span data-if="c" style="display:none">prepare_deep_counting_model</span><span data-if="cpp" style="display:none">PrepareDeepCountingModel</span><span data-if="com" style="display:none">PrepareDeepCountingModel</span><span data-if="dotnet" style="display:none">PrepareDeepCountingModel</span><span data-if="python" style="display:none">prepare_deep_counting_model</span></code></a> after
changing them (<code>prepare</code>).
</p>
<div style="text-align:center"><table style="width:90%;margin-left:auto;margin-right:auto" class="table altcolored">
<col span="1" style="width:30%;">
<col span="1" style="width:20%;">
<col span="1" style="width:20%;">
<col span="1" style="width:20%;">
<tr>
<th style="text-align:left">
<a href="#GenParamName"><i><code><span data-if="hdevelop" style="display:inline">GenParamName</span><span data-if="c" style="display:none">GenParamName</span><span data-if="cpp" style="display:none">GenParamName</span><span data-if="com" style="display:none">GenParamName</span><span data-if="dotnet" style="display:none">genParamName</span><span data-if="python" style="display:none">gen_param_name</span></code></i></a>        </th>
<th style="text-align:center">
<code>set</code>                         </th>
<th style="text-align:center">
<code>get</code>                          </th>
<th style="text-align:center">Requires <code>prepare</code> </th>
</tr>
<tr>
<td style="text-align:left">
<i><span data-if="hdevelop" style="display:inline">'angle_start'</span><span data-if="c" style="display:none">"angle_start"</span><span data-if="cpp" style="display:none">"angle_start"</span><span data-if="com" style="display:none">"angle_start"</span><span data-if="dotnet" style="display:none">"angle_start"</span><span data-if="python" style="display:none">"angle_start"</span></i>       </td>
<td style="text-align:center">
<code>x</code>                           </td>
<td style="text-align:center">
<code>x</code>                            </td>
<td style="text-align:center">
<code>x</code>           </td>
</tr>
<tr>
<td style="text-align:left">
<i><span data-if="hdevelop" style="display:inline">'angle_step'</span><span data-if="c" style="display:none">"angle_step"</span><span data-if="cpp" style="display:none">"angle_step"</span><span data-if="com" style="display:none">"angle_step"</span><span data-if="dotnet" style="display:none">"angle_step"</span><span data-if="python" style="display:none">"angle_step"</span></i>        </td>
<td style="text-align:center">
<code>x</code>                           </td>
<td style="text-align:center">
<code>x</code>                            </td>
<td style="text-align:center">
<code>x</code>           </td>
</tr>
<tr>
<td style="text-align:left">
<i><span data-if="hdevelop" style="display:inline">'angle_end'</span><span data-if="c" style="display:none">"angle_end"</span><span data-if="cpp" style="display:none">"angle_end"</span><span data-if="com" style="display:none">"angle_end"</span><span data-if="dotnet" style="display:none">"angle_end"</span><span data-if="python" style="display:none">"angle_end"</span></i>         </td>
<td style="text-align:center">
<code>x</code>                           </td>
<td style="text-align:center">
<code>x</code>                            </td>
<td style="text-align:center">
<code>x</code>           </td>
</tr>
<tr>
<td style="text-align:left">
<i><span data-if="hdevelop" style="display:inline">'backbone_model'</span><span data-if="c" style="display:none">"backbone_model"</span><span data-if="cpp" style="display:none">"backbone_model"</span><span data-if="com" style="display:none">"backbone_model"</span><span data-if="dotnet" style="display:none">"backbone_model"</span><span data-if="python" style="display:none">"backbone_model"</span></i>    </td>
<td style="text-align:center">
<code>x</code>                           </td>
<td style="text-align:center">
<code>x</code>                            </td>
<td style="text-align:center">
<code>x</code>           </td>
</tr>
<tr>
<td style="text-align:left">
<i><span data-if="hdevelop" style="display:inline">'device'</span><span data-if="c" style="display:none">"device"</span><span data-if="cpp" style="display:none">"device"</span><span data-if="com" style="display:none">"device"</span><span data-if="dotnet" style="display:none">"device"</span><span data-if="python" style="display:none">"device"</span></i>            </td>
<td style="text-align:center">
<code>x</code>                           </td>
<td style="text-align:center">
<code>x</code>                            </td>
<td style="text-align:center">
<code>x</code>           </td>
</tr>
<tr>
<td style="text-align:left">
<i><span data-if="hdevelop" style="display:inline">'max_overlap'</span><span data-if="c" style="display:none">"max_overlap"</span><span data-if="cpp" style="display:none">"max_overlap"</span><span data-if="com" style="display:none">"max_overlap"</span><span data-if="dotnet" style="display:none">"max_overlap"</span><span data-if="python" style="display:none">"max_overlap"</span></i>       </td>
<td style="text-align:center">
<code>x</code>                           </td>
<td style="text-align:center">
<code>x</code>                            </td>
<td style="text-align:center">                     </td>
</tr>
<tr>
<td style="text-align:left">
<i><span data-if="hdevelop" style="display:inline">'min_score'</span><span data-if="c" style="display:none">"min_score"</span><span data-if="cpp" style="display:none">"min_score"</span><span data-if="com" style="display:none">"min_score"</span><span data-if="dotnet" style="display:none">"min_score"</span><span data-if="python" style="display:none">"min_score"</span></i>         </td>
<td style="text-align:center">
<code>x</code>                           </td>
<td style="text-align:center">
<code>x</code>                            </td>
<td style="text-align:center">                     </td>
</tr>
<tr>
<td style="text-align:left">
<i><span data-if="hdevelop" style="display:inline">'scale_max'</span><span data-if="c" style="display:none">"scale_max"</span><span data-if="cpp" style="display:none">"scale_max"</span><span data-if="com" style="display:none">"scale_max"</span><span data-if="dotnet" style="display:none">"scale_max"</span><span data-if="python" style="display:none">"scale_max"</span></i>         </td>
<td style="text-align:center">
<code>x</code>                           </td>
<td style="text-align:center">
<code>x</code>                            </td>
<td style="text-align:center">
<code>x</code>           </td>
</tr>
<tr>
<td style="text-align:left">
<i><span data-if="hdevelop" style="display:inline">'scale_min'</span><span data-if="c" style="display:none">"scale_min"</span><span data-if="cpp" style="display:none">"scale_min"</span><span data-if="com" style="display:none">"scale_min"</span><span data-if="dotnet" style="display:none">"scale_min"</span><span data-if="python" style="display:none">"scale_min"</span></i>         </td>
<td style="text-align:center">
<code>x</code>                           </td>
<td style="text-align:center">
<code>x</code>                            </td>
<td style="text-align:center">
<code>x</code>           </td>
</tr>
<tr>
<td style="text-align:left">
<i><span data-if="hdevelop" style="display:inline">'scale_step'</span><span data-if="c" style="display:none">"scale_step"</span><span data-if="cpp" style="display:none">"scale_step"</span><span data-if="com" style="display:none">"scale_step"</span><span data-if="dotnet" style="display:none">"scale_step"</span><span data-if="python" style="display:none">"scale_step"</span></i>        </td>
<td style="text-align:center">
<code>x</code>                           </td>
<td style="text-align:center">
<code>x</code>                            </td>
<td style="text-align:center">
<code>x</code>
</td>
</tr>
</table></div>
<p>In the following the parameters are described:
</p>
<dl class="generic">

<dt><b><i><span data-if="hdevelop" style="display:inline">'angle_start'</span><span data-if="c" style="display:none">"angle_start"</span><span data-if="cpp" style="display:none">"angle_start"</span><span data-if="com" style="display:none">"angle_start"</span><span data-if="dotnet" style="display:none">"angle_start"</span><span data-if="python" style="display:none">"angle_start"</span></i>, <i><span data-if="hdevelop" style="display:inline">'angle_step'</span><span data-if="c" style="display:none">"angle_step"</span><span data-if="cpp" style="display:none">"angle_step"</span><span data-if="com" style="display:none">"angle_step"</span><span data-if="dotnet" style="display:none">"angle_step"</span><span data-if="python" style="display:none">"angle_step"</span></i>, <i><span data-if="hdevelop" style="display:inline">'angle_end'</span><span data-if="c" style="display:none">"angle_end"</span><span data-if="cpp" style="display:none">"angle_end"</span><span data-if="com" style="display:none">"angle_end"</span><span data-if="dotnet" style="display:none">"angle_end"</span><span data-if="python" style="display:none">"angle_end"</span></i>:</b></dt>
<dd>
<p>

Control the rotational augmentation.
Templates passed to <a href="prepare_deep_counting_model.html"><code><span data-if="hdevelop" style="display:inline">prepare_deep_counting_model</span><span data-if="c" style="display:none">prepare_deep_counting_model</span><span data-if="cpp" style="display:none">PrepareDeepCountingModel</span><span data-if="com" style="display:none">PrepareDeepCountingModel</span><span data-if="dotnet" style="display:none">PrepareDeepCountingModel</span><span data-if="python" style="display:none">prepare_deep_counting_model</span></code></a> are rotated from
<i><span data-if="hdevelop" style="display:inline">'angle_start'</span><span data-if="c" style="display:none">"angle_start"</span><span data-if="cpp" style="display:none">"angle_start"</span><span data-if="com" style="display:none">"angle_start"</span><span data-if="dotnet" style="display:none">"angle_start"</span><span data-if="python" style="display:none">"angle_start"</span></i> to <i><span data-if="hdevelop" style="display:inline">'angle_end'</span><span data-if="c" style="display:none">"angle_end"</span><span data-if="cpp" style="display:none">"angle_end"</span><span data-if="com" style="display:none">"angle_end"</span><span data-if="dotnet" style="display:none">"angle_end"</span><span data-if="python" style="display:none">"angle_end"</span></i> in steps of
<i><span data-if="hdevelop" style="display:inline">'angle_step'</span><span data-if="c" style="display:none">"angle_step"</span><span data-if="cpp" style="display:none">"angle_step"</span><span data-if="com" style="display:none">"angle_step"</span><span data-if="dotnet" style="display:none">"angle_step"</span><span data-if="python" style="display:none">"angle_step"</span></i>.
This allows <a href="apply_deep_counting_model.html"><code><span data-if="hdevelop" style="display:inline">apply_deep_counting_model</span><span data-if="c" style="display:none">apply_deep_counting_model</span><span data-if="cpp" style="display:none">ApplyDeepCountingModel</span><span data-if="com" style="display:none">ApplyDeepCountingModel</span><span data-if="dotnet" style="display:none">ApplyDeepCountingModel</span><span data-if="python" style="display:none">apply_deep_counting_model</span></code></a> to better find rotated
instances of the templates.</p>
<p>
The angles must be passed in radians.</p>
<p>
<span class="pardesc"><span class="parcat">Suggested values:
      </span></span> <i>0</i>, <i>-6.28</i>,
<i>-3.14</i>, <i>3.14</i>, <i>6.28</i></p>
<p>
<span class="pardesc"><span class="parcat">Default:
      </span></span> <i><span data-if="hdevelop" style="display:inline">'angle_start'</span><span data-if="c" style="display:none">"angle_start"</span><span data-if="cpp" style="display:none">"angle_start"</span><span data-if="com" style="display:none">"angle_start"</span><span data-if="dotnet" style="display:none">"angle_start"</span><span data-if="python" style="display:none">"angle_start"</span></i> = <i>0</i>,
<i><span data-if="hdevelop" style="display:inline">'angle_end'</span><span data-if="c" style="display:none">"angle_end"</span><span data-if="cpp" style="display:none">"angle_end"</span><span data-if="com" style="display:none">"angle_end"</span><span data-if="dotnet" style="display:none">"angle_end"</span><span data-if="python" style="display:none">"angle_end"</span></i> =   <i>0</i>,
<i><span data-if="hdevelop" style="display:inline">'angle_step'</span><span data-if="c" style="display:none">"angle_step"</span><span data-if="cpp" style="display:none">"angle_step"</span><span data-if="com" style="display:none">"angle_step"</span><span data-if="dotnet" style="display:none">"angle_step"</span><span data-if="python" style="display:none">"angle_step"</span></i> =  <i><span data-if="hdevelop" style="display:inline">'rad(30)'</span><span data-if="c" style="display:none">"rad(30)"</span><span data-if="cpp" style="display:none">"rad(30)"</span><span data-if="com" style="display:none">"rad(30)"</span><span data-if="dotnet" style="display:none">"rad(30)"</span><span data-if="python" style="display:none">"rad(30)"</span></i></p>
<p>
<span class="pardesc"><span class="parcat">Restriction:
      </span></span>
<span title="1" style="vertical-align:-0.195552em" class="math"><!-- Created by MetaPost 1.902 on 2023.05.15:2033 --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="2.00266em" height="0.850062em" viewBox="0 0 32.042526 13.600998">
<!-- Original BoundingBox: -16.021271 -6.800491 16.021255 6.800507 -->
  <defs>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmr10_50">
      <path style="fill-rule: evenodd;" d="M127.000000 -77.000000L233.000000 -180.000000C389.000000 -318.000000,449.000000 -372.000000,449.000000 -472.000000C449.000000 -586.000000,359.000000 -666.000000,237.000000 -666.000000C124.000000 -666.000000,50.000000 -574.000000,50.000000 -485.000000C50.000000 -429.000000,100.000000 -429.000000,103.000000 -429.000000C120.000000 -429.000000,155.000000 -441.000000,155.000000 -482.000000C155.000000 -508.000000,137.000000 -534.000000,102.000000 -534.000000C94.000000 -534.000000,92.000000 -534.000000,89.000000 -533.000000C112.000000 -598.000000,166.000000 -635.000000,224.000000 -635.000000C315.000000 -635.000000,358.000000 -554.000000,358.000000 -472.000000C358.000000 -392.000000,308.000000 -313.000000,253.000000 -251.000000L61.000000 -37.000000C50.000000 -26.000000,50.000000 -24.000000,50.000000 -0.000000L421.000000 -0.000000L449.000000 -174.000000L424.000000 -174.000000C419.000000 -144.000000,412.000000 -100.000000,402.000000 -85.000000C395.000000 -77.000000,329.000000 -77.000000,307.000000 -77.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmsy10_0">
      <path style="fill-rule: evenodd;" d="M659.000000 -230.000000C676.000000 -230.000000,694.000000 -230.000000,694.000000 -250.000000C694.000000 -270.000000,676.000000 -270.000000,659.000000 -270.000000L118.000000 -270.000000C101.000000 -270.000000,83.000000 -270.000000,83.000000 -250.000000C83.000000 -230.000000,101.000000 -230.000000,118.000000 -230.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmmi10_25">
      <path style="fill-rule: evenodd;" d="M265.000000 -373.000000L378.000000 -373.000000C345.000000 -225.000000,336.000000 -182.000000,336.000000 -115.000000C336.000000 -100.000000,336.000000 -73.000000,344.000000 -39.000000C354.000000 5.000000,365.000000 11.000000,380.000000 11.000000C400.000000 11.000000,421.000000 -7.000000,421.000000 -27.000000C421.000000 -33.000000,421.000000 -35.000000,415.000000 -49.000000C386.000000 -121.000000,386.000000 -186.000000,386.000000 -214.000000C386.000000 -267.000000,393.000000 -321.000000,404.000000 -373.000000L518.000000 -373.000000C531.000000 -373.000000,567.000000 -373.000000,567.000000 -407.000000C567.000000 -431.000000,546.000000 -431.000000,527.000000 -431.000000L192.000000 -431.000000C170.000000 -431.000000,132.000000 -431.000000,88.000000 -384.000000C53.000000 -345.000000,27.000000 -299.000000,27.000000 -294.000000C27.000000 -293.000000,27.000000 -284.000000,39.000000 -284.000000C47.000000 -284.000000,49.000000 -288.000000,55.000000 -296.000000C104.000000 -373.000000,162.000000 -373.000000,182.000000 -373.000000L239.000000 -373.000000C207.000000 -252.000000,153.000000 -131.000000,111.000000 -40.000000C103.000000 -25.000000,103.000000 -23.000000,103.000000 -16.000000C103.000000 3.000000,119.000000 11.000000,132.000000 11.000000C162.000000 11.000000,170.000000 -17.000000,182.000000 -54.000000C196.000000 -100.000000,196.000000 -102.000000,209.000000 -152.000000"></path>
    </g>
  </defs>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,0.994720 10.472168)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmsy10_0"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,13.392700 10.472168)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmr10_50"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,21.362808 10.472168)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmmi10_25"></use>
  </g>
</svg></span> &lt;= <i><span data-if="hdevelop" style="display:inline">'angle_start'</span><span data-if="c" style="display:none">"angle_start"</span><span data-if="cpp" style="display:none">"angle_start"</span><span data-if="com" style="display:none">"angle_start"</span><span data-if="dotnet" style="display:none">"angle_start"</span><span data-if="python" style="display:none">"angle_start"</span></i> &lt;= <i><span data-if="hdevelop" style="display:inline">'angle_end'</span><span data-if="c" style="display:none">"angle_end"</span><span data-if="cpp" style="display:none">"angle_end"</span><span data-if="com" style="display:none">"angle_end"</span><span data-if="dotnet" style="display:none">"angle_end"</span><span data-if="python" style="display:none">"angle_end"</span></i> &lt;= <span title="2" style="vertical-align:-0.0710211em" class="math"><!-- Created by MetaPost 1.902 on 2023.05.15:2033 --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1.22777em" height="0.767042em" viewBox="0 0 19.644379 12.272675">
<!-- Original BoundingBox: -9.822189 -6.136337 9.822189 6.136337 -->
  <defs>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmr10_50">
      <path style="fill-rule: evenodd;" d="M127.000000 -77.000000L233.000000 -180.000000C389.000000 -318.000000,449.000000 -372.000000,449.000000 -472.000000C449.000000 -586.000000,359.000000 -666.000000,237.000000 -666.000000C124.000000 -666.000000,50.000000 -574.000000,50.000000 -485.000000C50.000000 -429.000000,100.000000 -429.000000,103.000000 -429.000000C120.000000 -429.000000,155.000000 -441.000000,155.000000 -482.000000C155.000000 -508.000000,137.000000 -534.000000,102.000000 -534.000000C94.000000 -534.000000,92.000000 -534.000000,89.000000 -533.000000C112.000000 -598.000000,166.000000 -635.000000,224.000000 -635.000000C315.000000 -635.000000,358.000000 -554.000000,358.000000 -472.000000C358.000000 -392.000000,308.000000 -313.000000,253.000000 -251.000000L61.000000 -37.000000C50.000000 -26.000000,50.000000 -24.000000,50.000000 -0.000000L421.000000 -0.000000L449.000000 -174.000000L424.000000 -174.000000C419.000000 -144.000000,412.000000 -100.000000,402.000000 -85.000000C395.000000 -77.000000,329.000000 -77.000000,307.000000 -77.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmmi10_25">
      <path style="fill-rule: evenodd;" d="M265.000000 -373.000000L378.000000 -373.000000C345.000000 -225.000000,336.000000 -182.000000,336.000000 -115.000000C336.000000 -100.000000,336.000000 -73.000000,344.000000 -39.000000C354.000000 5.000000,365.000000 11.000000,380.000000 11.000000C400.000000 11.000000,421.000000 -7.000000,421.000000 -27.000000C421.000000 -33.000000,421.000000 -35.000000,415.000000 -49.000000C386.000000 -121.000000,386.000000 -186.000000,386.000000 -214.000000C386.000000 -267.000000,393.000000 -321.000000,404.000000 -373.000000L518.000000 -373.000000C531.000000 -373.000000,567.000000 -373.000000,567.000000 -407.000000C567.000000 -431.000000,546.000000 -431.000000,527.000000 -431.000000L192.000000 -431.000000C170.000000 -431.000000,132.000000 -431.000000,88.000000 -384.000000C53.000000 -345.000000,27.000000 -299.000000,27.000000 -294.000000C27.000000 -293.000000,27.000000 -284.000000,39.000000 -284.000000C47.000000 -284.000000,49.000000 -288.000000,55.000000 -296.000000C104.000000 -373.000000,162.000000 -373.000000,182.000000 -373.000000L239.000000 -373.000000C207.000000 -252.000000,153.000000 -131.000000,111.000000 -40.000000C103.000000 -25.000000,103.000000 -23.000000,103.000000 -16.000000C103.000000 3.000000,119.000000 11.000000,132.000000 11.000000C162.000000 11.000000,170.000000 -17.000000,182.000000 -54.000000C196.000000 -100.000000,196.000000 -102.000000,209.000000 -152.000000"></path>
    </g>
  </defs>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,0.193802 11.136337)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmr10_50"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,8.163925 11.136337)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmmi10_25"></use>
  </g>
</svg></span>,
<i><span data-if="hdevelop" style="display:inline">'angle_step'</span><span data-if="c" style="display:none">"angle_step"</span><span data-if="cpp" style="display:none">"angle_step"</span><span data-if="com" style="display:none">"angle_step"</span><span data-if="dotnet" style="display:none">"angle_step"</span><span data-if="python" style="display:none">"angle_step"</span></i> &gt; <i>0</i>
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'backbone_model'</span><span data-if="c" style="display:none">"backbone_model"</span><span data-if="cpp" style="display:none">"backbone_model"</span><span data-if="com" style="display:none">"backbone_model"</span><span data-if="dotnet" style="display:none">"backbone_model"</span><span data-if="python" style="display:none">"backbone_model"</span></i>:</b></dt>
<dd>
<p>

The backbone used for the detection of the templates.
The backbone is automatically created by <a href="create_deep_counting_model.html"><code><span data-if="hdevelop" style="display:inline">create_deep_counting_model</span><span data-if="c" style="display:none">create_deep_counting_model</span><span data-if="cpp" style="display:none">CreateDeepCountingModel</span><span data-if="com" style="display:none">CreateDeepCountingModel</span><span data-if="dotnet" style="display:none">CreateDeepCountingModel</span><span data-if="python" style="display:none">create_deep_counting_model</span></code></a>.
It can be obtained and written back in order to, for example,
optimize it using <a href="optimize_dl_model_for_inference.html"><code><span data-if="hdevelop" style="display:inline">optimize_dl_model_for_inference</span><span data-if="c" style="display:none">optimize_dl_model_for_inference</span><span data-if="cpp" style="display:none">OptimizeDlModelForInference</span><span data-if="com" style="display:none">OptimizeDlModelForInference</span><span data-if="dotnet" style="display:none">OptimizeDlModelForInference</span><span data-if="python" style="display:none">optimize_dl_model_for_inference</span></code></a>.
</p>
<p>Note that the Deep Counting model will automatically set the input
size of the backbone according to the template and image sizes.
It has therefore no effect to change the backbone's input size,
and it is not recommended to do so.
Also note that the backbone can not be used for any other deep learning
methods besides Deep Counting.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'device'</span><span data-if="c" style="display:none">"device"</span><span data-if="cpp" style="display:none">"device"</span><span data-if="com" style="display:none">"device"</span><span data-if="dotnet" style="display:none">"device"</span><span data-if="python" style="display:none">"device"</span></i>:</b></dt>
<dd>
<p>

Handle of the device on which the backbone will be
executed.</p>
<p>
If the backbone was already optimized for a device, setting
<i><span data-if="hdevelop" style="display:inline">'device'</span><span data-if="c" style="display:none">"device"</span><span data-if="cpp" style="display:none">"device"</span><span data-if="com" style="display:none">"device"</span><span data-if="dotnet" style="display:none">"device"</span><span data-if="python" style="display:none">"device"</span></i> might not be necessary anymore, see
<a href="optimize_dl_model_for_inference.html"><code><span data-if="hdevelop" style="display:inline">optimize_dl_model_for_inference</span><span data-if="c" style="display:none">optimize_dl_model_for_inference</span><span data-if="cpp" style="display:none">OptimizeDlModelForInference</span><span data-if="com" style="display:none">OptimizeDlModelForInference</span><span data-if="dotnet" style="display:none">OptimizeDlModelForInference</span><span data-if="python" style="display:none">optimize_dl_model_for_inference</span></code></a> for details.</p>
<p>
To get a tuple of handles of all available potentially deep-learning
capable hardware devices use <a href="query_available_dl_devices.html"><code><span data-if="hdevelop" style="display:inline">query_available_dl_devices</span><span data-if="c" style="display:none">query_available_dl_devices</span><span data-if="cpp" style="display:none">QueryAvailableDlDevices</span><span data-if="com" style="display:none">QueryAvailableDlDevices</span><span data-if="dotnet" style="display:none">QueryAvailableDlDevices</span><span data-if="python" style="display:none">query_available_dl_devices</span></code></a>.</p>
<p>
<span class="pardesc"><span class="parcat">Default:
      </span></span> Handle of the default device, thus the GPU with index
<i>0</i>. If not available, this is an empty tuple.
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'max_overlap'</span><span data-if="c" style="display:none">"max_overlap"</span><span data-if="cpp" style="display:none">"max_overlap"</span><span data-if="com" style="display:none">"max_overlap"</span><span data-if="dotnet" style="display:none">"max_overlap"</span><span data-if="python" style="display:none">"max_overlap"</span></i>:</b></dt>
<dd>
<p>

The maximum allowed intersection over union (IoU) for two detected
templates during counting.
When two templates have an IoU higher than <i><span data-if="hdevelop" style="display:inline">'max_overlap'</span><span data-if="c" style="display:none">"max_overlap"</span><span data-if="cpp" style="display:none">"max_overlap"</span><span data-if="com" style="display:none">"max_overlap"</span><span data-if="dotnet" style="display:none">"max_overlap"</span><span data-if="python" style="display:none">"max_overlap"</span></i>,
the one with lower confidence value gets suppressed.
When set to <i>0</i>, no overlap at all is allowed.
We refer to the chapter <a href="toc_deeplearning_objectdetection.html">Deep Learning / Object Detection and Instance Segmentation</a> for
further explanations of the IoU.</p>
<p>
<span class="pardesc"><span class="parcat">Suggested values:
      </span></span> <i>0.3</i>, <i>0.5</i>,
<i>0.7</i>, <i>1.0</i></p>
<p>
<span class="pardesc"><span class="parcat">Default:
      </span></span> <i><span data-if="hdevelop" style="display:inline">'max_overlap'</span><span data-if="c" style="display:none">"max_overlap"</span><span data-if="cpp" style="display:none">"max_overlap"</span><span data-if="com" style="display:none">"max_overlap"</span><span data-if="dotnet" style="display:none">"max_overlap"</span><span data-if="python" style="display:none">"max_overlap"</span></i> = <i>0.5</i></p>
<p>
<span class="pardesc"><span class="parcat">Restriction:
      </span></span> <i>0</i> &lt;= <i><span data-if="hdevelop" style="display:inline">'max_overlap'</span><span data-if="c" style="display:none">"max_overlap"</span><span data-if="cpp" style="display:none">"max_overlap"</span><span data-if="com" style="display:none">"max_overlap"</span><span data-if="dotnet" style="display:none">"max_overlap"</span><span data-if="python" style="display:none">"max_overlap"</span></i> &lt;= <i>1</i>
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'min_score'</span><span data-if="c" style="display:none">"min_score"</span><span data-if="cpp" style="display:none">"min_score"</span><span data-if="com" style="display:none">"min_score"</span><span data-if="dotnet" style="display:none">"min_score"</span><span data-if="python" style="display:none">"min_score"</span></i>:</b></dt>
<dd>
<p>

This parameter determines the minimum similarity of detected instances
to the original templates.
In other words, <a href="apply_deep_counting_model.html"><code><span data-if="hdevelop" style="display:inline">apply_deep_counting_model</span><span data-if="c" style="display:none">apply_deep_counting_model</span><span data-if="cpp" style="display:none">ApplyDeepCountingModel</span><span data-if="com" style="display:none">ApplyDeepCountingModel</span><span data-if="dotnet" style="display:none">ApplyDeepCountingModel</span><span data-if="python" style="display:none">apply_deep_counting_model</span></code></a> ignores all detected
instances with a similarity smaller than this value.
The similarity computed by the Deep Counting model lies between
<i>0</i> and <i>1</i>, where <i>0</i> means no similarity and
<i>1</i> is a very high similarity. </p>
<p>
<span class="pardesc"><span class="parcat">Suggested values:
      </span></span> <i>0.2</i>, <i>0.3</i>,
<i>0.4</i>, <i>0.5</i></p>
<p>
<span class="pardesc"><span class="parcat">Default:
      </span></span> <i><span data-if="hdevelop" style="display:inline">'min_score'</span><span data-if="c" style="display:none">"min_score"</span><span data-if="cpp" style="display:none">"min_score"</span><span data-if="com" style="display:none">"min_score"</span><span data-if="dotnet" style="display:none">"min_score"</span><span data-if="python" style="display:none">"min_score"</span></i> = <i>0.4</i></p>
<p>
<span class="pardesc"><span class="parcat">Restriction:
      </span></span> <i>0</i> &lt; <i><span data-if="hdevelop" style="display:inline">'min_score'</span><span data-if="c" style="display:none">"min_score"</span><span data-if="cpp" style="display:none">"min_score"</span><span data-if="com" style="display:none">"min_score"</span><span data-if="dotnet" style="display:none">"min_score"</span><span data-if="python" style="display:none">"min_score"</span></i> &lt;= <i>1</i>
</p>
</dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'scale_min'</span><span data-if="c" style="display:none">"scale_min"</span><span data-if="cpp" style="display:none">"scale_min"</span><span data-if="com" style="display:none">"scale_min"</span><span data-if="dotnet" style="display:none">"scale_min"</span><span data-if="python" style="display:none">"scale_min"</span></i>, <i><span data-if="hdevelop" style="display:inline">'scale_step'</span><span data-if="c" style="display:none">"scale_step"</span><span data-if="cpp" style="display:none">"scale_step"</span><span data-if="com" style="display:none">"scale_step"</span><span data-if="dotnet" style="display:none">"scale_step"</span><span data-if="python" style="display:none">"scale_step"</span></i>, <i><span data-if="hdevelop" style="display:inline">'scale_max'</span><span data-if="c" style="display:none">"scale_max"</span><span data-if="cpp" style="display:none">"scale_max"</span><span data-if="com" style="display:none">"scale_max"</span><span data-if="dotnet" style="display:none">"scale_max"</span><span data-if="python" style="display:none">"scale_max"</span></i>:</b></dt>
<dd>
<p>

Control the scale augmentation.
Templates passed to <a href="prepare_deep_counting_model.html"><code><span data-if="hdevelop" style="display:inline">prepare_deep_counting_model</span><span data-if="c" style="display:none">prepare_deep_counting_model</span><span data-if="cpp" style="display:none">PrepareDeepCountingModel</span><span data-if="com" style="display:none">PrepareDeepCountingModel</span><span data-if="dotnet" style="display:none">PrepareDeepCountingModel</span><span data-if="python" style="display:none">prepare_deep_counting_model</span></code></a> are scaled from
<i><span data-if="hdevelop" style="display:inline">'scale_min'</span><span data-if="c" style="display:none">"scale_min"</span><span data-if="cpp" style="display:none">"scale_min"</span><span data-if="com" style="display:none">"scale_min"</span><span data-if="dotnet" style="display:none">"scale_min"</span><span data-if="python" style="display:none">"scale_min"</span></i> to <i><span data-if="hdevelop" style="display:inline">'scale_max'</span><span data-if="c" style="display:none">"scale_max"</span><span data-if="cpp" style="display:none">"scale_max"</span><span data-if="com" style="display:none">"scale_max"</span><span data-if="dotnet" style="display:none">"scale_max"</span><span data-if="python" style="display:none">"scale_max"</span></i> in steps of
<i><span data-if="hdevelop" style="display:inline">'scale_step'</span><span data-if="c" style="display:none">"scale_step"</span><span data-if="cpp" style="display:none">"scale_step"</span><span data-if="com" style="display:none">"scale_step"</span><span data-if="dotnet" style="display:none">"scale_step"</span><span data-if="python" style="display:none">"scale_step"</span></i>.
This allows <a href="apply_deep_counting_model.html"><code><span data-if="hdevelop" style="display:inline">apply_deep_counting_model</span><span data-if="c" style="display:none">apply_deep_counting_model</span><span data-if="cpp" style="display:none">ApplyDeepCountingModel</span><span data-if="com" style="display:none">ApplyDeepCountingModel</span><span data-if="dotnet" style="display:none">ApplyDeepCountingModel</span><span data-if="python" style="display:none">apply_deep_counting_model</span></code></a> to better find scaled
instances of the templates.</p>
<p>
<span class="pardesc"><span class="parcat">Suggested values:
      </span></span> <i>0.9</i>, <i>1.0</i>, <i>1.1</i></p>
<p>
<span class="pardesc"><span class="parcat">Default:
      </span></span> <i><span data-if="hdevelop" style="display:inline">'scale_min'</span><span data-if="c" style="display:none">"scale_min"</span><span data-if="cpp" style="display:none">"scale_min"</span><span data-if="com" style="display:none">"scale_min"</span><span data-if="dotnet" style="display:none">"scale_min"</span><span data-if="python" style="display:none">"scale_min"</span></i> =   <i>1.0</i>,
<i><span data-if="hdevelop" style="display:inline">'scale_max'</span><span data-if="c" style="display:none">"scale_max"</span><span data-if="cpp" style="display:none">"scale_max"</span><span data-if="com" style="display:none">"scale_max"</span><span data-if="dotnet" style="display:none">"scale_max"</span><span data-if="python" style="display:none">"scale_max"</span></i> =   <i>1.0</i>,
<i><span data-if="hdevelop" style="display:inline">'scale_step'</span><span data-if="c" style="display:none">"scale_step"</span><span data-if="cpp" style="display:none">"scale_step"</span><span data-if="com" style="display:none">"scale_step"</span><span data-if="dotnet" style="display:none">"scale_step"</span><span data-if="python" style="display:none">"scale_step"</span></i> =  <i>0.1</i></p>
<p>
<span class="pardesc"><span class="parcat">Restriction:
      </span></span> <i>0</i> &lt; <i><span data-if="hdevelop" style="display:inline">'scale_min'</span><span data-if="c" style="display:none">"scale_min"</span><span data-if="cpp" style="display:none">"scale_min"</span><span data-if="com" style="display:none">"scale_min"</span><span data-if="dotnet" style="display:none">"scale_min"</span><span data-if="python" style="display:none">"scale_min"</span></i> &lt;= <i><span data-if="hdevelop" style="display:inline">'scale_max'</span><span data-if="c" style="display:none">"scale_max"</span><span data-if="cpp" style="display:none">"scale_max"</span><span data-if="com" style="display:none">"scale_max"</span><span data-if="dotnet" style="display:none">"scale_max"</span><span data-if="python" style="display:none">"scale_max"</span></i>,
<i><span data-if="hdevelop" style="display:inline">'scale_step'</span><span data-if="c" style="display:none">"scale_step"</span><span data-if="cpp" style="display:none">"scale_step"</span><span data-if="com" style="display:none">"scale_step"</span><span data-if="dotnet" style="display:none">"scale_step"</span><span data-if="python" style="display:none">"scale_step"</span></i> &gt; <i>0</i>
</p>
</dd>
</dl>
<h2 id="sec_execution">运行信息</h2>
<ul>
  <li>多线程类型:可重入(与非独占操作符并行运行)。</li>
<li>多线程作用域:全局(可以从任何线程调用)。</li>
  <li>未经并行化处理。</li>
</ul>
<h2 id="sec_parameters">参数表</h2>
  <div class="par">
<div class="parhead">
<span id="DeepCountingHandle" class="parname"><b><code><span data-if="hdevelop" style="display:inline">DeepCountingHandle</span><span data-if="c" style="display:none">DeepCountingHandle</span><span data-if="cpp" style="display:none">DeepCountingHandle</span><span data-if="com" style="display:none">DeepCountingHandle</span><span data-if="dotnet" style="display:none">deepCountingHandle</span><span data-if="python" style="display:none">deep_counting_handle</span></code></b> (input_control)  </span><span>deep_counting <code>→</code> <span data-if="dotnet" style="display:none"><a href="HDlModelCounting.html">HDlModelCounting</a>, </span><span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">HHandle</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (handle)</span><span data-if="dotnet" style="display:none"> (<i>IntPtr</i>)</span><span data-if="cpp" style="display:none"> (<i>HHandle</i>)</span><span data-if="c" style="display:none"> (<i>handle</i>)</span></span>
</div>
<p class="pardesc">Handle of the Deep Counting model.</p>
</div>
  <div class="par">
<div class="parhead">
<span id="GenParamName" class="parname"><b><code><span data-if="hdevelop" style="display:inline">GenParamName</span><span data-if="c" style="display:none">GenParamName</span><span data-if="cpp" style="display:none">GenParamName</span><span data-if="com" style="display:none">GenParamName</span><span data-if="dotnet" style="display:none">genParamName</span><span data-if="python" style="display:none">gen_param_name</span></code></b> (input_control)  </span><span>attribute.name <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">str</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string)</span><span data-if="dotnet" style="display:none"> (<i>string</i>)</span><span data-if="cpp" style="display:none"> (<i>HString</i>)</span><span data-if="c" style="display:none"> (<i>char*</i>)</span></span>
</div>
<p class="pardesc">Name of the generic parameter.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'angle_start'</span>
    <span data-if="c" style="display:none">"angle_start"</span>
    <span data-if="cpp" style="display:none">"angle_start"</span>
    <span data-if="com" style="display:none">"angle_start"</span>
    <span data-if="dotnet" style="display:none">"angle_start"</span>
    <span data-if="python" style="display:none">"angle_start"</span>
</p>
<p class="pardesc"><span class="parcat">List of values:
      </span><span data-if="hdevelop" style="display:inline">'angle_end'</span><span data-if="c" style="display:none">"angle_end"</span><span data-if="cpp" style="display:none">"angle_end"</span><span data-if="com" style="display:none">"angle_end"</span><span data-if="dotnet" style="display:none">"angle_end"</span><span data-if="python" style="display:none">"angle_end"</span>, <span data-if="hdevelop" style="display:inline">'angle_start'</span><span data-if="c" style="display:none">"angle_start"</span><span data-if="cpp" style="display:none">"angle_start"</span><span data-if="com" style="display:none">"angle_start"</span><span data-if="dotnet" style="display:none">"angle_start"</span><span data-if="python" style="display:none">"angle_start"</span>, <span data-if="hdevelop" style="display:inline">'angle_step'</span><span data-if="c" style="display:none">"angle_step"</span><span data-if="cpp" style="display:none">"angle_step"</span><span data-if="com" style="display:none">"angle_step"</span><span data-if="dotnet" style="display:none">"angle_step"</span><span data-if="python" style="display:none">"angle_step"</span>, <span data-if="hdevelop" style="display:inline">'backbone_model'</span><span data-if="c" style="display:none">"backbone_model"</span><span data-if="cpp" style="display:none">"backbone_model"</span><span data-if="com" style="display:none">"backbone_model"</span><span data-if="dotnet" style="display:none">"backbone_model"</span><span data-if="python" style="display:none">"backbone_model"</span>, <span data-if="hdevelop" style="display:inline">'device'</span><span data-if="c" style="display:none">"device"</span><span data-if="cpp" style="display:none">"device"</span><span data-if="com" style="display:none">"device"</span><span data-if="dotnet" style="display:none">"device"</span><span data-if="python" style="display:none">"device"</span>, <span data-if="hdevelop" style="display:inline">'max_overlap'</span><span data-if="c" style="display:none">"max_overlap"</span><span data-if="cpp" style="display:none">"max_overlap"</span><span data-if="com" style="display:none">"max_overlap"</span><span data-if="dotnet" style="display:none">"max_overlap"</span><span data-if="python" style="display:none">"max_overlap"</span>, <span data-if="hdevelop" style="display:inline">'min_score'</span><span data-if="c" style="display:none">"min_score"</span><span data-if="cpp" style="display:none">"min_score"</span><span data-if="com" style="display:none">"min_score"</span><span data-if="dotnet" style="display:none">"min_score"</span><span data-if="python" style="display:none">"min_score"</span>, <span data-if="hdevelop" style="display:inline">'scale_max'</span><span data-if="c" style="display:none">"scale_max"</span><span data-if="cpp" style="display:none">"scale_max"</span><span data-if="com" style="display:none">"scale_max"</span><span data-if="dotnet" style="display:none">"scale_max"</span><span data-if="python" style="display:none">"scale_max"</span>, <span data-if="hdevelop" style="display:inline">'scale_min'</span><span data-if="c" style="display:none">"scale_min"</span><span data-if="cpp" style="display:none">"scale_min"</span><span data-if="com" style="display:none">"scale_min"</span><span data-if="dotnet" style="display:none">"scale_min"</span><span data-if="python" style="display:none">"scale_min"</span>, <span data-if="hdevelop" style="display:inline">'scale_step'</span><span data-if="c" style="display:none">"scale_step"</span><span data-if="cpp" style="display:none">"scale_step"</span><span data-if="com" style="display:none">"scale_step"</span><span data-if="dotnet" style="display:none">"scale_step"</span><span data-if="python" style="display:none">"scale_step"</span></p>
</div>
  <div class="par">
<div class="parhead">
<span id="GenParamValue" class="parname"><b><code><span data-if="hdevelop" style="display:inline">GenParamValue</span><span data-if="c" style="display:none">GenParamValue</span><span data-if="cpp" style="display:none">GenParamValue</span><span data-if="com" style="display:none">GenParamValue</span><span data-if="dotnet" style="display:none">genParamValue</span><span data-if="python" style="display:none">gen_param_value</span></code></b> (output_control)  </span><span>attribute.name <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">Union[str, float, int]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real / </span><span data-if="hdevelop" style="display:inline">string / </span><span data-if="hdevelop" style="display:inline">integer)</span><span data-if="dotnet" style="display:none"> (<i>double</i> / </span><span data-if="dotnet" style="display:none">string / </span><span data-if="dotnet" style="display:none">int / </span><span data-if="dotnet" style="display:none">long)</span><span data-if="cpp" style="display:none"> (<i>double</i> / </span><span data-if="cpp" style="display:none">HString / </span><span data-if="cpp" style="display:none">Hlong)</span><span data-if="c" style="display:none"> (<i>double</i> / </span><span data-if="c" style="display:none">char* / </span><span data-if="c" style="display:none">Hlong)</span></span>
</div>
<p class="pardesc">Value of the generic parameter.</p>
</div>
<h2 id="sec_result">结果</h2>
<p>If the handle of the model is valid, 该算子
<code><span data-if="hdevelop" style="display:inline">get_deep_counting_model_param</span><span data-if="c" style="display:none">get_deep_counting_model_param</span><span data-if="cpp" style="display:none">GetDeepCountingModelParam</span><span data-if="com" style="display:none">GetDeepCountingModelParam</span><span data-if="dotnet" style="display:none">GetDeepCountingModelParam</span><span data-if="python" style="display:none">get_deep_counting_model_param</span></code> 返回值 <TT>2</TT> (
      <TT>H_MSG_TRUE</TT>)
    . If necessary
an exception is raised.</p>
<h2 id="sec_predecessors">可能的前置算子</h2>
<p>
<code><a href="create_deep_counting_model.html"><span data-if="hdevelop" style="display:inline">create_deep_counting_model</span><span data-if="c" style="display:none">create_deep_counting_model</span><span data-if="cpp" style="display:none">CreateDeepCountingModel</span><span data-if="com" style="display:none">CreateDeepCountingModel</span><span data-if="dotnet" style="display:none">CreateDeepCountingModel</span><span data-if="python" style="display:none">create_deep_counting_model</span></a></code>, 
<code><a href="set_deep_counting_model_param.html"><span data-if="hdevelop" style="display:inline">set_deep_counting_model_param</span><span data-if="c" style="display:none">set_deep_counting_model_param</span><span data-if="cpp" style="display:none">SetDeepCountingModelParam</span><span data-if="com" style="display:none">SetDeepCountingModelParam</span><span data-if="dotnet" style="display:none">SetDeepCountingModelParam</span><span data-if="python" style="display:none">set_deep_counting_model_param</span></a></code>, 
<code><a href="read_deep_counting_model.html"><span data-if="hdevelop" style="display:inline">read_deep_counting_model</span><span data-if="c" style="display:none">read_deep_counting_model</span><span data-if="cpp" style="display:none">ReadDeepCountingModel</span><span data-if="com" style="display:none">ReadDeepCountingModel</span><span data-if="dotnet" style="display:none">ReadDeepCountingModel</span><span data-if="python" style="display:none">read_deep_counting_model</span></a></code>
</p>
<h2 id="sec_successors">可能的后置算子</h2>
<p>
<code><a href="apply_deep_counting_model.html"><span data-if="hdevelop" style="display:inline">apply_deep_counting_model</span><span data-if="c" style="display:none">apply_deep_counting_model</span><span data-if="cpp" style="display:none">ApplyDeepCountingModel</span><span data-if="com" style="display:none">ApplyDeepCountingModel</span><span data-if="dotnet" style="display:none">ApplyDeepCountingModel</span><span data-if="python" style="display:none">apply_deep_counting_model</span></a></code>
</p>
<h2 id="sec_see">参考其它</h2>
<p>
<code><a href="set_deep_counting_model_param.html"><span data-if="hdevelop" style="display:inline">set_deep_counting_model_param</span><span data-if="c" style="display:none">set_deep_counting_model_param</span><span data-if="cpp" style="display:none">SetDeepCountingModelParam</span><span data-if="com" style="display:none">SetDeepCountingModelParam</span><span data-if="dotnet" style="display:none">SetDeepCountingModelParam</span><span data-if="python" style="display:none">set_deep_counting_model_param</span></a></code>
</p>
<h2 id="sec_module">模块</h2>
<p>
Matching</p>
<!--OP_REF_FOOTER_START-->
<hr>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<div class="footer">
<div class="copyright">HALCON算子参考手册 Copyright © 2015-2023 51Halcon</div>
</div>
</div>
</body>
</html>
